package com.caijin.system.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.security.crypto.scrypt.SCryptPasswordEncoder;

@Configuration
public class PasswordConfig {
    @Bean
    public PasswordEncoder getPass(){
        return new SCryptPasswordEncoder();
    }
}
